home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / Commander Sets / 4D FindFolder / 4D FindFolder.rsrc / TEXT_1288_FindFolder Command.txt < prev    next >
Encoding:
Text File  |  1994-09-14  |  1.1 KB  |  20 lines

  1. RR FindFolder (type ; path )  ->  err
  2.  
  3. err    integer      returns the error which occured. 
  4.                             A value of zero indicates everything was OK.
  5.  
  6. type   is a, case-sensitive, four-character string indicating the type of 
  7.                            folder you want the path of. There are four categories 
  8.                            of folder types (see following sections)
  9.  
  10. path    string        contains the path of the folder. Ignore it when an 
  11.                             error occured, but should be empty anyway. 
  12.                             Maximum length is 255 characters. You can't use a 
  13.                             alpha- (too short) or text-field (wrong internal 
  14.                             format) to receive the path, recommended is to use 
  15.                             a variable (C_STRING(255;var)). With most folder 
  16.                             types it doesn't need to be an empty string upon 
  17.                             entry because the contents is ignored.
  18.  
  19. When you use a folder type at the start of a path upon entry, this external does not test if the path really exists.
  20.